using JoyfulHomeJourney.BackEnd.Infrastructure.EFCore;
using JoyfulHomeJourney.BackEnd.Infrastructure.Dtos.Responses.Objects;
using JoyfulHomeJourney.BackEnd.Infrastructure.Tools;
namespace JoyfulHomeJourney.BackEnd.Server.Instances.Extends.Responses
{
	public static class TaskCategorieRelationshipsExtend
{
		public static ResponseTaskCategorieRelationshipsDto ToResponseDto(this TaskCategorieRelationships entity)
{			return new ResponseTaskCategorieRelationshipsDto
			{
				categoryId = entity.TcrCategoryId,
				id = entity.TcrId,
				taskId = entity.TcrTaskId,
			};
		}
	}
}
